package test;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.stereotype.Controller;

/**
 * @author lanyangji
 * @description spring mvc配置类
 * @date 2020/12/10 下午 5:41
 */
@Configuration
@ComponentScan(
        basePackages = {"cn.jly.ssm"},
        useDefaultFilters = false,
        includeFilters = {
                @ComponentScan.Filter(
                        type = FilterType.ANNOTATION,
                        classes = Controller.class
                )
        }
)
public class SpringMvcConfig {
}
